package study.bean;

public class Animal {

    private int id=1;

    private String name="父亲";

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void eat(){
        System.out.println("动物吃东西");
    }


}
